package com.zbf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/8/4  13:41
 * 描述:
 */
@TableName(value = "base_user")
@Data
public class TestUser {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @TableField(value = "userName")
    private String userName;

    @TableField(value = "loginName")
    private String loginName;

    @TableField(value = "createTime")
    private Date createTime;

    @TableField(exist = false)
    private Date startDate;
    @TableField(exist = false)
    private Date endDate;

}
